package com.business.bean.basic;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年9月21日
 */
@Setter
@Getter
@Table(name = "BAS_WORK_TYPE", description = "工种信息表")
public class WorkTypeBean extends ModelBean {

	/** 按ID分类，10000以内的是非工程人员，每1000段内是一小类 */
	@Column(pk = true, type = Type.数字整型, description = "工种编号", canNull = false)
	private int jobID = 0;

	@Column(type = Type.变长文本, description = "工种名称", size = 30)
	private String jobName = null;

	@Column(type = Type.变长文本, description = "工种等级", size = 32)
	private String jobGrade = null;

	@Column(type = Type.数字整型, description = "小时单价")
	private int hourPrice = 0;

	/** 1：启用；2：停用 */
	@Column(type = Type.数字整型, description = "状态")
	private int status = 0;
}
